@charset 'UTF-8';
@function vw($px){
  @return $px / 10.8 + vw
}
.check-box{
  width: vw(800);
  margin: 0 auto;
  padding-top: vw(420);
  .type-box{
    display: flex;
    justify-content: space-between;
    input{
      display: none;
    }
    label{
      display: block;
      width: vw(360);
      height: vw(120);
      font-size: vw(56);
      color: #999;
      text-align: center;
      line-height: vw(120);
      font-weight: 600;
      border-radius: vw(12);
      background-color: rgb(255, 255, 255);
    }
    input:checked+label{
      background-color: #f4942e;
      color: #fff;
    }
  }
  .content-box{
    padding: vw(85) 0 vw(90);
    .automatic-content {
      width: 100%;
      height: vw(296);
      border-width: 1px;
      border-color: rgb(204, 204, 204);
      border-style: solid;
      border-radius: 12px;
      background-color: rgba(0, 0, 0, 0.102);
      text-align: center;
      font-size: vw(36);
      color: #999;
      line-height: vw(296);
    }

    .manual-content{
      display: none;
      div{
        display: flex;
        align-items: flex-end;
        padding: vw(35) 0;
        font-size: vw(36);
        color: #333;
        text-align: right;
       input{
          width: vw(640);
          height: vw(78);
          border-width: 1px;
          border-color: rgb(204, 204, 204);
          border-style: solid;
          border-radius: vw(12);
          background-color: rgba(0, 0, 0, 0.059);
          text-align: center;
          font-size: vw(36);
        }
        label{
          flex: 1;
        }
      }
    }
  }
  >.btn.orange-btn{
    width: 100%;
    height: vw(120);
    font-size: vw(54);
    color: white;
    border-radius: vw(60);
  }

}
.pop-box{
  display:none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  .list-box {
    position: absolute;
    left: 50%;
    top: 50%;
    width:vw(900);
    padding: vw(50);
    border-radius: 20px;
    background-color: rgb(255, 255, 255);
    transform: translate(-50%,-50%);
    input{
      display: none;
    }
    h3{
      text-align: center;
      font-size: vw(50);
      color: #666;
      font-weight: 600;
    }
    .all-box{
      display: flex;
      justify-content: flex-end;
      padding: vw(20) 0;
      font-size: vw(42);
      color: #333;
      label{
        display: flex;
        align-items: center;
        i {
          width: vw(42);
          height: vw(42);
          margin-right: vw(20);
          border-width: 1px;
          border-color: rgb(51, 51, 34);
          border-style: solid;
          border-radius: 50%;
        }
      }
      input:checked + label{
        i{
          border-color: rgb(224, 51, 51);
          background-image: url("../images/icon-select.png");
          background-position: center center;
          background-size: vw(26) auto;
          background-repeat: no-repeat;
        }
      }

    }
    .list-details{
      padding: vw(30);
      background-color: #e5e5e5;
      max-height: vw(640);
      overflow-y: scroll;
      li{
        width: 100%;
        margin-bottom: vw(30);
        font-size: vw(36);
        color: #fff;
        &:last-child{
          margin-bottom: 0;
        }
        label{
          display: flex;
          justify-content: space-between;
          align-items: center;
          div {
            display: flex;
            flex-direction: column;
            justify-content: center;
            width: vw(600);
            height: vw(160);
            padding: vw(20);
            border-radius: vw(20);
            background-image: -moz-linear-gradient( -142deg, rgb(255,98,151) 0%, rgb(255,161,105) 100%);
            background-image: -webkit-linear-gradient( -142deg, rgb(255,98,151) 0%, rgb(255,161,105) 100%);
            background-image: -ms-linear-gradient( -142deg, rgb(255,98,151) 0%, rgb(255,161,105) 100%);
            background-image: linear-gradient( -142deg, rgb(255,98,151) 0%, rgb(255,161,105) 100%);
            p{
              margin-top: vw(30);
              font-size: vw(24);
            }
            h4{
              text-overflow: ellipsis;
              white-space: nowrap;
              overflow: hidden;
            }
          }
          span{
            width: vw(80);
            height: vw(80);
            border-radius: 50%;
            background-color: rgb(255, 255, 255);
          }
        }
        input:checked + label{
          div{
            box-shadow: rgba(0,0,0,.6) 0px 0px vw(18);
          }
          span{
            background-image: url("../images/icon-select.png");
            background-position: center center;
            background-size: vw(48) auto;
            background-repeat: no-repeat;
          }
        }
      }
    }
    .btn-box{
      display: flex;
      justify-content: space-between;
      .btn {
        width: vw(320);
        height: vw(100);
        margin-top: vw(68);
        background-color: rgb(231, 231, 231);
        border-radius: vw(50);
        font-size: vw(42);
        color: #999;
        &.orange-btn{
          color: white;
          background-color: #f4942e;
        }
      }

    }
  }

}
